/*
 * @Description: 混合宏
 * @Autor: HuiSir<273250950@qq.com>
 * @Date: 2021-09-01 16:37:47
 * @LastEditTime: 2025-06-01 16:49:33
 */

/** 
 * 清除浮动
 */
@mixin clearfix {
  zoom: 1;
  &::after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
  }
}

/** 
 * 垂直滚动条
 */
@mixin scrollBar {
  &::-webkit-scrollbar-track-piece {
    background: transparent;
  }

  &::-webkit-scrollbar {
    width: 5px;
  }

  &::-webkit-scrollbar-thumb {
    background: #c8c8c878;
    border-radius: 10px;
  }
}

/** 
 * 隱藏滚动条
 */
@mixin hideScrollBar {
  &::-webkit-scrollbar {
    display: none;
  }
}
